package gewu.suleju.sevice.imp;


import gewu.suleju.dao.iml.HouseCollectionDao;
import gewu.suleju.model.pojo.HouseCollection;
import gewu.suleju.sevice.IHouseCollectionServicetjj;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class HouseCollectionServiceImptjj implements IHouseCollectionServicetjj {
    @Autowired
    private HouseCollectionDao houseCollectionDao;


    @Override
    public List<HouseCollection> findHouseCollectionsByUserId(Integer userid) {

        return houseCollectionDao.findHouseCollectionsByUserId(userid);
    }
}
